API Reference > OdGe Classes > OdGeScale2d Class > OdGeScale2d Operators > [] Operator > OdGeScale2d::[] Operator (unsigned int)
OdGeScale2d::[] Operator (unsigned int)
Syntax
C++
double operator [](unsigned int i) const;
Parameters 
Description 
unsigned int i 
[in] Index of component. 

  • if the passed index is 0 - returns the X scale factor.
  • if the passed index is 1 - returns the Y scale factor.

Returns the ith component of the scale vector. 

 

Copyright © 2002–2022. Open Design Alliance. All rights reserved.